package com.sqinterface;

/**
 * @Auther: shiquan
 * @Date: 2024/10/22 - 10 - 22 -11:33
 */
public class Rabbit extends Animal{

    public Rabbit() {
    }

    public Rabbit(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat() {
        System.out.println("兔子吃胡萝卜");

    }
}
